from django.contrib import admin
from django.urls import path, include

urlpatterns = [
    path('admin/', admin.site.urls),  # 管理员后台的默认路径
    path('', include('farmapp.urls')),  # 包含 farm 应用的 urls
    path('accounts/', include('django.contrib.auth.urls')),  # Django 默认的用户认证功能
]

